/**
 * @author yanhaijiang
 *
 */
package bid.yanhj.springboot.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class Helloworld {
    
    @RequestMapping("/hello")
    @ResponseBody
    public Map<String, Object> showHelloworld() {
        Map<String, Object> map = new HashMap<>();
        map.put("msg", "你好");
        return map;
    }
}